#ifndef MAINWINDOW_H
#define MAINWINDOW_H


#include "myGLWidget.h"
#include "image3d.h"
#include "camera.h"


class mainWindow : public myGLWidget

{

    Q_OBJECT
    QTimer* t_Timer;

    camera  _cam;
    Image3D _image;


public slots:
    virtual void timeOutSlot();


public:
    mainWindow(char* fichier, QWidget *parent = 0);

    void initializeGL();
    void resizeGL(int width, int height);
    void paintGL();
    void keyPressEvent( QKeyEvent *keyEvent );
    void mousePressEvent(QMouseEvent *) ;
    void mouseMoveEvent(QMouseEvent *) ;
    void wheelEvent(QWheelEvent *event);

};

#endif // MAINWINDOW_H
